package com.hx.vending.bean;

/**
 * Created by Administrator on 2018/11/23.
 * 商品
 */
public class Goods {

    /**
     * 商品id
     */
    private Integer goodsId;

    /**
     * 商户id
     */
    private Integer goodsUserId;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 图片
     */
    private String goodsPicture;

    /**
     * 单价
     */
    private Double goodsPrice;

    /**
     * 备注
     */
    private String goodsRemark;

    /**
     * 购买商品时的商品数量
     */
    private Integer buyNumber;
    //商品状态 0无效1有效
    private String goodsStatus;

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getGoodsUserId() {
        return goodsUserId;
    }

    public void setGoodsUserId(Integer goodsUserId) {
        this.goodsUserId = goodsUserId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsPicture() {
        return goodsPicture;
    }

    public void setGoodsPicture(String goodsPicture) {
        this.goodsPicture = goodsPicture;
    }

    public Double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsRemark() {
        return goodsRemark;
    }

    public void setGoodsRemark(String goodsRemark) {
        this.goodsRemark = goodsRemark;
    }

    public Integer getBuyNumber() {
        return buyNumber;
    }

    public void setBuyNumber(Integer buyNumber) {
        this.buyNumber = buyNumber;
    }

    public String getGoodsStatus() {
        return goodsStatus;
    }

    public void setGoodsStatus(String goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "goodsId=" + goodsId +
                ", goodsUserId=" + goodsUserId +
                ", goodsName='" + goodsName + '\'' +
                ", goodsPicture='" + goodsPicture + '\'' +
                ", goodsPrice=" + goodsPrice +
                ", goodsRemark='" + goodsRemark + '\'' +
                ", buyNumber=" + buyNumber +
                '}';
    }
}
